]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
dash: Reindent some more code
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 9 Feb 2021 21:01:45 +0000 (22:01 +0100)
committerMarge Bot <marge-bot@gnome.org>
Wed, 10 Feb 2021 15:46:00 +0000 (15:46 +0000)
Again we're about to touch it.

https://gitlab.gnome.org/Teams/Design/os-mockups/-/issues/89

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1660>

js/ui/dash.js

index 52b07a51c1c0d6aa52df418bdedd0c13672048cd..efd855787ec9c6360722fe74edb9cf0616383d93 100644 (file)
@@ -57,13 +57,15 @@ class DashIcon extends AppDisplay.AppIcon {
 var DashItemContainer = GObject.registerClass(
 class DashItemContainer extends St.Widget {
     _init() {
-        super._init({ style_class: 'dash-item-container',
-                      pivot_point: new Graphene.Point({ x: .5, y: .5 }),
-                      scale_x: 0,
-                      scale_y: 0,
-                      opacity: 0,
-                      x_expand: true,
-                      x_align: Clutter.ActorAlign.CENTER });
+        super._init({
+            style_class: 'dash-item-container',
+            pivot_point: new Graphene.Point({ x: .5, y: .5 }),
+            scale_x: 0,
+            scale_y: 0,
+            opacity: 0,
+            x_expand: true,
+            x_align: Clutter.ActorAlign.CENTER,
+        });
 
         this._labelText = "";
         this.label = new St.Label({ style_class: 'dash-label' });